home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Nibble Magazine
/
nib42b.dsk
/
IF THEN ELSE DEMO.bas
< prev
next >
Wrap
BASIC Source File
|
2023-02-26
|
484b
|
20 lines
10 <UNKNOWN TOKEN>
15 HOME
20 INPUT "ENTER AN ANGLE ";A
30 INPUT "IS THAT IN RAD,DEG, OR GRAD (R,D,G) ";T$
40 IF T$ = "D" THEN <UNKNOWN TOKEN>
50 <UNKNOWN TOKEN>
60 B = A *3.14159265/180
70 <UNKNOWN TOKEN>
80 <UNKNOWN TOKEN>
90 IF T$ = "G" THEN <UNKNOWN TOKEN>
100 <UNKNOWN TOKEN>
110 B = A *3.14159265/200
120 <UNKNOWN TOKEN>
130 <UNKNOWN TOKEN>
140 B = A
150 <UNKNOWN TOKEN>
160 <UNKNOWN TOKEN>
170 C = ( INT( SIN(B) *10000))/10000
180 PRINT "THE SIN OF "A" IS "C
190 END